/* 会员续费页面样式 - 传统中国色彩暖色系 */
.member-pay-page {
  min-height: 100vh;
  /* 使用传统中国色彩：赤茶橙渐变，呈现温暖感 */
  background: linear-gradient(180deg, #f8d6b9 0%, #ffefe0 100%);
  padding: 0 30rpx 60rpx;
  position: relative;
  padding-top: 60rpx;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

/* 加载状态样式 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60rpx 0;
}

.loading-text {
  font-size: 28rpx;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
}

/* 错误状态样式 */
.error-container {
  padding: 40rpx;
  background-color: #fff2f0;
  border-radius: 12rpx;
  border: 1px solid #ffccc7;
  margin: 20rpx 0;
  text-align: center;
}

.error-text {
  font-size: 28rpx;
  /* 使用传统中国色彩：朱砂红 */
  color: #d9480f;
  margin-bottom: 20rpx;
}

.retry-button {
  font-size: 28rpx;
  color: #1890ff;
  background-color: transparent;
  padding: 10rpx 40rpx;
  border: 1px solid #1890ff;
  border-radius: 40rpx;
}

/* 顶部标题栏 */
.top-bar {
  text-align: center;
  padding-bottom: 40rpx;
}

.page-title {
  font-size: 48rpx;
  font-weight: bold;
  /* 使用传统中国色彩：赤棕色 */
  color: #914e2f;
  display: block;
  margin-bottom: 20rpx;
  text-shadow: 0 2rpx 4rpx rgba(145, 78, 47, 0.1);
}

/* 套餐容器 */
.packages-container {
  margin-bottom: 40rpx;
}

/* 套餐卡片 */
.package-card {
  /* 使用象牙白色背景 */
  background: #fffbf0;
  border-radius: 28rpx;
  padding: 0;
  margin-bottom: 32rpx;
  position: relative;
  /* 柔和阴影 */
  box-shadow: 0 8rpx 16rpx rgba(145, 78, 47, 0.1);
  overflow: hidden;
  border: 1rpx solid rgba(228, 188, 135, 0.2);
  /* 模拟设计图中的凸起效果 */
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-card::before {
  content: '';
  position: absolute;
  left: 20rpx;
  right: 20rpx;
  bottom: -8rpx;
  height: 8rpx;
  background: rgba(145, 78, 47, 0.08);
  border-radius: 50%;
  z-index: -1;
}

.package-card:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 8rpx rgba(145, 78, 47, 0.06);
}

.package-content {
  padding: 40rpx;
  text-align: center;
}

/* 折扣标签 - 三角形样式 */
.discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 140rpx 90rpx 0 0;
  /* 使用传统中国色彩：朱砂红 */
  border-color: #d9480f transparent transparent transparent;
  z-index: 1;
}

.discount-text {
  position: absolute;
  top: -60px;
  left: -5px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  transform: rotate(-60deg);
  transform-origin: top left;
  letter-spacing: 0;
  z-index: 2;
  display: block;
  width: 90rpx;
  text-align: center;
  overflow: visible;
  white-space: nowrap;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  text-shadow: 0 1rpx 2rpx rgba(0,0,0,0.2);
}

/* 第二个卡片的折扣标签 - 传统中国赤金色 */
.package-card:nth-child(2) .discount-badge {
  border-color: #c18b4c transparent transparent transparent;
  border-width: 140rpx 90rpx 0 0;
}

/* 第三个卡片的折扣标签 - 传统中国青瓷色 */
.package-card:nth-child(3) .discount-badge {
  border-color: #5c8672 transparent transparent transparent;
  border-width: 140rpx 90rpx 0 0;
}

/* 价格区域 */
.price-section {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 12rpx;
}

.price {
  font-size: 64rpx;
  font-weight: bold;
  /* 使用传统中国色彩：赤金色 */
  color: #c18b4c;
  margin-right: 8rpx;
  text-shadow: 0 2rpx 4rpx rgba(193, 139, 76, 0.2);
}

.unit {
  font-size: 28rpx;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
}

/* 原价样式 */
.original-price {
  font-size: 24rpx;
  color: #999;
  text-decoration: line-through;
  margin-left: 10rpx;
}

.description {
  font-size: 28rpx;
  /* 使用传统中国色彩：朱砂红 */
  color: #d9480f;
  margin-bottom: 36rpx;
  font-weight: 500;
}

/* 续费按钮 - 中国风按钮 */
.renew-button {
  width: 100%;
  border-radius: 44rpx;
  font-size: 32rpx;
  font-weight: bold;
  padding: 26rpx 0;
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  letter-spacing: 2rpx;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.12);
}

.renew-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.15) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.renew-button:active {
  transform: translateY(2rpx);
  box-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.1);
}

.renew-button:active::before {
  transform: translateX(100%);
}

/* 主要按钮 - 传统中国朱砂红 */
.renew-button.primary {
  background: linear-gradient(135deg, #d9480f 0%, #c41e3a 100%);
  box-shadow: 0 6rpx 12rpx rgba(217, 72, 15, 0.2);
}

/* 次要按钮 - 传统中国赤金色 */
.renew-button.secondary.yellow {
  background: linear-gradient(135deg, #c18b4c 0%, #d4aa6c 100%);
  box-shadow: 0 6rpx 12rpx rgba(193, 139, 76, 0.2);
}

/* 次要按钮 - 传统中国青瓷色 */
.renew-button.secondary.blue {
  background: linear-gradient(135deg, #5c8672 0%, #7aa391 100%);
  box-shadow: 0 6rpx 12rpx rgba(92, 134, 114, 0.2);
}

/* 会员权益部分 */
.benefits-section {
  /* 使用象牙白色背景 */
  background: #fffbf0;
  border-radius: 28rpx;
  padding: 40rpx 20rpx;
  margin-bottom: 32rpx;
  /* 柔和阴影 */
  box-shadow: 0 8rpx 16rpx rgba(145, 78, 47, 0.1);
  border: 1rpx solid rgba(228, 188, 135, 0.2);
}

/* 会员权益标题 */
.benefits-title {
  font-size: 36rpx;
  font-weight: bold;
  /* 使用传统中国色彩：赤棕色 */
  color: #914e2f;
  text-align: center;
  margin-bottom: 36rpx;
  position: relative;
  padding-bottom: 16rpx;
}

.benefits-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80rpx;
  height: 4rpx;
  /* 使用传统中国色彩：赤金色 */
  background: #c18b4c;
  border-radius: 2rpx;
}

/* 权益网格 */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-around;
}

.benefit-card {
  flex: 1;
  min-width: 30%;
  background: transparent;
  padding: 0 10rpx;
  margin-bottom: 0;
}

/* 权益标题样式 */
.benefit-title {
  font-size: 28rpx;
  font-weight: bold;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
  margin-bottom: 20rpx;
  text-align: center;
  padding: 0;
  position: relative;
}

.benefit-card .benefit-title {
  font-size: 28rpx;
  font-weight: bold;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
  margin-bottom: 20rpx;
  text-align: center;
  padding: 0;
  position: relative;
}

.benefit-card .benefit-title::after {
  display: none;
}

.benefit-items {
  display: flex;
  flex-direction: row;
  gap: 18rpx;
  margin-top: 20rpx;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10rpx;
  justify-content: center;
}

.check-icon {
  /* 使用传统中国色彩：朱砂红 */
  color: #d9480f;
  font-size: 20rpx;
  font-weight: bold;
  width: 24rpx;
  height: 24rpx;
  border-radius: 50%;
  background: #fffbf0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1rpx solid #d9480f;
}

.benefit-text {
  font-size: 24rpx;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

/* 底部提示 */
.bottom-notice {
  /* 使用象牙白色背景 */
  background: rgba(255, 251, 240, 0.95);
  border-radius: 28rpx;
  padding: 36rpx;
  text-align: center;
  margin-bottom: 32rpx;
  /* 柔和阴影 */
  box-shadow: 0 6rpx 12rpx rgba(145, 78, 47, 0.08);
  border: 1rpx solid rgba(228, 188, 135, 0.2);
}

.notice-text {
  display: block;
  font-size: 24rpx;
  /* 使用传统中国色彩：木色 */
  color: #8f6a4a;
  margin-bottom: 12rpx;
  line-height: 1.6;
}

/* 客服按钮 - 红色系 */
.contact-section {
  padding: 0 30rpx 60rpx;
}

/* 客服按钮 - 传统中国朱砂红 */
.contact-button {
  width: 100%;
  background: linear-gradient(135deg, #d9480f 0%, #c41e3a 100%);
  color: #fff;
  border: none;
  border-radius: 44rpx;
  font-size: 32rpx;
  font-weight: bold;
  padding: 26rpx 0;
  position: relative;
  overflow: hidden;
  letter-spacing: 2rpx;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6rpx 12rpx rgba(217, 72, 15, 0.2);
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.15) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-button:active {
  transform: translateY(2rpx);
  box-shadow: 0 3rpx 6rpx rgba(0, 0, 0, 0.1);
}

.contact-button:active::before {
  transform: translateX(100%);
}